package com.group01.community.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group01.community.entity.ZyBuilding;
import com.group01.community.entity.vo.ZyBuildingVo;

/**
 * <p>
 * 楼栋  服务类
 * </p>
 *
 * @author guoyuan
 * @since 2025-05-01
 */
public interface ZyBuildingService extends IService<ZyBuilding> {

    /**
     * 分页模糊查询楼栋信息
     * @param curr 当前页
     * @param size 页长度
     * @param communityId 小区id
     * @param buildingName 楼栋名
     * @param buildingCode 楼栋编码
     * @return 分页信息
     */
    IPage<ZyBuildingVo> getBuildingPage(int curr, int size, Long communityId, String buildingName, String buildingCode);
}
